package htdi.jfinal.hellworld.config;

import com.jfinal.config.Constants;
import com.jfinal.config.Handlers;
import com.jfinal.config.Interceptors;
import com.jfinal.config.JFinalConfig;
import com.jfinal.config.Plugins;
import com.jfinal.config.Routes;
import com.jfinal.core.JFinal;
import com.jfinal.template.Engine;
import htdi.jfinal.hellworld.controller.HellWorldController;

public class ProjectConfig extends JFinalConfig{

	public static void main(String[] args) {
        JFinal.start("webRoot", 8000, "/");
    }
	
	public void configRoute(Routes me) {
		me.setBaseViewPath("/WEB-INF/views").add("/", HellWorldController.class);
	}
	
	public void configConstant(Constants me) {
	}

	public void configEngine(Engine me) {
	}

	public void configPlugin(Plugins me) {
	}

	public void configInterceptor(Interceptors me) {
	}

	public void configHandler(Handlers me) {
	}
}
